<?php

namespace app\admin\controller;

use app\admin\org\Account;
use app\admin\org\Power;
use think\Controller;

class Index extends Base
{
    public function index(){
        return $this->fetch();
    }

    public function logout(){
        $Power = new Power();
        $Power->logout();
        $this->redirect('admin/Login/login');
    }
}